<!DOCTYPE html>
<html>
    <head>
        <?
        print Main::GetHeadStyles();
        Module::Init('system:jscore');
        Jscore::Engage('less', JSLIBS . "/less/less.min.js");
        Jscore::Engage('jquery', JSLIBS . "/jquery/jquery.min.js");
        Jscore::Engage('jqueryui', JSLIBS . "/jqueryui/jquery-ui.js", JSLIBS . "/jqueryui/css/base/jquery-ui.css");
        Jscore::Engage('fancybox', JSLIBS . "/fancybox/jquery.fancybox.js", JSLIBS . "/fancybox/jquery.fancybox.css");
        Jscore::Init('jquery', 'jqueryui', 'less', 'fancybox');
        print Main::GetHeadScripts();
        Jscore::GetBridge();
        Main::AddHeadStyle($MAIN->template->uri . "/less/template.less");
        Main::AddHeadScript($MAIN->template->uri . "/js/script.js");
        ?>
    </head>
    <body>      
        <div class="header">
            <div class="brandzone">
                <div class="logo">
                    <a href="/" noindex>main</a>
                </div>
                <div class="userbar">
                    Userbar
                </div>
            </div>
            <div class="mainmenu"><? Main::Component('frost:menu', false, array(
                'code' => 'mainmenu'
            ))?></div>
        </div>
        <div class="content">
            <div class="workarea">